package com.example.kugou.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 个人信息
 */
@ApiModel("个人信息表")
public class Personal_data {
    /**
     *  个人信息id
     */
    @ApiModelProperty("个人信息id")
    private Integer pid;
    /**
     * 账号
     */
    @ApiModelProperty("账号")
    private String account;
    /**
     * 密码
     */
    @ApiModelProperty("密码")
    private String password;
    /**
     * 网易云id
     */
    @ApiModelProperty("网易云id")
    private String wyyid;
    /**
     * 性别
     */
    @ApiModelProperty("性别")
    private String sex;
    /**
     * 生日
     */
    @ApiModelProperty("生日")
    private String birthday;
    /**
     * 个性签名
     */
    @ApiModelProperty("个性签名")
    private String signature;
    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    private String phone;
    /**
     * qq
     */
    @ApiModelProperty("QQ")
    private Integer qq;
    /**
     * 邮箱
     */
    @ApiModelProperty("邮箱")
    private String email;
    /**
     * 人员类别
     */
    @ApiModelProperty("人员类别")
    private Integer ptype;

    private String p_pic;
    private String name;

    private Vip vip;

    public Vip getVip() {
        return vip;
    }

    public void setVip(Vip vip) {
        this.vip = vip;
    }

    public Personal_data(Integer pid, String account, String password, String wyyid, String sex, String birthday, String signature, String phone, Integer qq, String email, Integer ptype) {
        this.pid = pid;
        this.account = account;
        this.password = password;
        this.wyyid = wyyid;
        this.sex = sex;
        this.birthday = birthday;
        this.signature = signature;
        this.phone = phone;
        this.qq = qq;
        this.email = email;
        this.ptype = ptype;
    }

    public Personal_data() {
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getWyyid() {
        return wyyid;
    }

    public void setWyyid(String wyyid) {
        this.wyyid = wyyid;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getQq() {
        return qq;
    }

    public void setQq(Integer qq) {
        this.qq = qq;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getPtype() {
        return ptype;
    }

    public void setPtype(Integer ptype) {
        this.ptype = ptype;
    }

    public String getP_pic() {
        return p_pic;
    }

    public void setP_pic(String p_pic) {
        this.p_pic = p_pic;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Personal_data{" +
                "pid=" + pid +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", wyyid='" + wyyid + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", signature='" + signature + '\'' +
                ", phone='" + phone + '\'' +
                ", qq=" + qq +
                ", email='" + email + '\'' +
                ", ptype=" + ptype +
                ", p_pic='" + p_pic + '\'' +
                ", vip=" + vip +
                '}';
    }
}
